POV-Ray : Newsgroups : povray.newusers : memory use : memory use Server Time
30 Jul 2024 14:26:13 EDT (-0400)
  memory use  
From: Bill Hails
Date: 24 Mar 2004 03:29:35
Message: <406146ef@news.povray.org>
Hi,
hopefully this is a simple question.
I'm not asking about specifics of rotation,
translation, texture etc. but in general about
object modifiers.

My question is:
In general does something like:

#local A = object {
        Blah
        rotate 20 * x
        texture { ... }
}
#declare B = object {
        A
        translate 10 * z
}

consume more memory than the equivalent:

#declare B = object {
        Blah
        rotate 20 * x
        texture { ... }
        translate 10 * z
}

or does the one get flattened to the
other internally?

I'm asking because I have a gazillion
copies of this kind of thing and I'm
starting to run into swap.

-- 
Bill Hails


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.